<%--
  Created by IntelliJ IDEA.
  User: SYG
  Date: 2018/7/10
  Time: 9:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/Encoding" method="get">
    <input type="text" name="username"/>
    <input type="submit" value="POST"/>
</form>
<hr/>
<form action="${pageContext.request.contextPath}/Encoding" method="post">
    <input type="text" name="username"/>
    <input type="submit" value="get"/>
</form>
</body>

<%=request.getContextPath()%>
</html>
